﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace _2shitong.Models
{
    public class Message
    {
        [Key]
        public int MsgID { get; set; }
        public string Title { get; set; }
        public string MsgContent { get; set; }
        public DateTime CreateDate { get; set; }
        public DateTime ModifyDate { get; set; }
        public string Publisher { get; set; }
        public bool CheckFlag { get; set; }
        public int Good { get; set; }
        public int Bad { get; set; }
        public virtual ICollection<MsgTag> MsgTag { get; set; }

    }
}